﻿namespace MODEL
{
    using System;
    using System.Collections.Generic;

    public partial class GenericOrder
    {
        public GenericOrder ToPoco(bool IsPoco)
        {
            return new GenericOrder()
            {
                //id = this.id,
                //order_guid = this.order_guid,
                //original_order_no = this.original_order_no,
                //platform_id = this.platform_id,
                //platform_name = this.platform_name,
                //site_info_id = this.site_info_id,
                //site_info_name = this.site_info_name,
                //account_id = this.account_id,
                //account_name = this.account_name,
                //total_price_amount = this.total_price_amount,
                //currency = this.currency,
                //total_discount_amount = this.total_discount_amount,
                //total_post_fee_amount = this.total_post_fee_amount,
                //sales_total_price = this.sales_total_price,
                //purchase_date = this.purchase_date,
                //shipping_service = this.shipping_service,
                //latest_shipping_date = this.latest_shipping_date,
                //order_state = this.order_state,
                //buyer_account_id = this.buyer_account_id,
                //customer_first_name = this.customer_first_name,
                //customer_last_name = this.customer_last_name,
                //customer_email = this.customer_email,
                //customer_address1 = this.customer_address1,
                //customer_address2 = this.customer_address2,
                //customer_city = this.customer_city,
                //customer_province = this.customer_province,
                //customer_postal_code = this.customer_postal_code,
                //customer_country = this.customer_country,
                //customer_phone = this.customer_phone,
                //customer_mobile = this.customer_mobile,
                //customer_company_name = this.customer_company_name,
                //delivery_first_name = this.delivery_first_name,
                //delivery_last_name = this.delivery_last_name,
                //delivery_email = this.delivery_email,
                //delivery_address1 = this.delivery_address1,
                //delivery_address2 = this.delivery_address2,
                //delivery_city = this.delivery_city,
                //delivery_province = this.delivery_province,
                //delivery_postal_code = this.delivery_postal_code,
                //delivery_country = this.delivery_country,
                //delivery_phone = this.delivery_phone,
                //delivery_mobile = this.delivery_mobile,
                //delivery_company_name = this.delivery_company_name,
                //payment_transaction_id = this.payment_transaction_id,
                //payment_date = this.payment_date,
                //payment_amount = this.payment_amount,
                //payment_method = this.payment_method,
                //tax_amount = this.tax_amount,
                //insurance_fee_amount = this.insurance_fee_amount,
                //confirm_payment_date = this.confirm_payment_date,
                //seller_id = this.seller_id,
                //created_at = this.created_at,
                //created_by = this.created_by,
                //last_updated_at = this.last_updated_at,
                //last_updated_by = this.last_updated_by
            };
        }
    }
}